package server.clients;

import java.util.ArrayList;
import java.util.List;

public class ClientList {
	List<Client> clientsList = new ArrayList<Client>();
		
		public List<Client> addClient(String ip, int port){
			
			clientsList.add(new Client(ip, port));
			return clientsList;
		}
		
		public void removeClient(Client client){
			clientsList.remove(client);

		}

		public List<Client> getClientsList() {
			return clientsList;
		}
}
